Merge the duplicated code for create, destroy, migrate, sysrq, and shutdown
authoremellor@ewan <emellor@ewan>
Fri, 23 Sep 2005 15:56:46 +0000 (16:56 +0100)
committeremellor@ewan <emellor@ewan>
Fri, 23 Sep 2005 15:56:46 +0000 (16:56 +0100)
commita61dbab15311fe019d8670018cc31dd9e733ac77
tree846c56694430260323dbf70ab0b9d8772a32f143
parent78b04c6c847e649f7eb4d4c47abbe99394785905
Merge the duplicated code for create, destroy, migrate, sysrq, and shutdown
into one handler that dynamically imports the correct subcommand handler.
Remove the fullhelp cruft, which was referencing something not actually present,
and was unused.  Remove xm_network_attach and xm_network_detach, which were
providing code for unadvertised and unsupported functionality.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/main.py